package com.zw.pm.util;

/**
 * @Description: 用于编写测试方法
 *
 * @Author: China.sgl
 * @Date: 2020/1/9 09:40
 */
public class Test {

    public static void main(String[] args) {
        StringBuilder sb = new StringBuilder();
        sb.append("模板制造一厂,模板制造二厂,");
        String factoriesStr = sb.toString().substring(0, sb.toString().lastIndexOf(","));
        System.out.println(factoriesStr);
    }
}
